﻿using Abp.Runtime.Validation;
using Camc.Quality.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.Inspection
{
    public class GetInspectionItemInfoInput : PagedAndSortedInputDto, IShouldNormalize
    {
        /// <summary>
        /// 一级异常ID
        /// </summary>
        public Guid TypeId { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
